package com.dragon.modules.yuegou.mapper.merchant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dragon.modules.yuegou.entity.merchant.MerchantSalesMonthEntity;
import com.dragon.modules.yuegou.model.merchant.MerchantSales;
import com.dragon.modules.yuegou.model.merchant.MerchantSalesMonth;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 商铺销售额按月 Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-07-11 14:42:53
 * @version 2.0
 */
@Component("merMerchantSalesMonthMapper")
public interface MerchantSalesMonthMapper extends BaseMapper<MerchantSalesMonthEntity> {

    /**
     * 查询配置数据列表
     * @param busdId
     * @return
     */
    List<MerchantSalesMonth> findList(String busdId);

    List<MerchantSales> findMonthBusdDate(String beforeMonth, String afterMonth);
}
